refactor(deps): migrate eslint-plugin-cypress from v5.3.0 to v6.0.0#58396
Closed
s0wa48 wants to merge 1 commit intonextcloud:masterfrom
Closed
refactor(deps): migrate eslint-plugin-cypress from v5.3.0 to v6.0.0#58396s0wa48 wants to merge 1 commit intonextcloud:masterfrom
s0wa48 wants to merge 1 commit intonextcloud:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Dependency update
eslint-plugin-cypressfrom^5.3.0to^6.0.0Breaking changes addressed
Removed:
eslint-plugin-cypress/flatconfigurationThe deprecated
eslint-plugin-cypress/flatsub-path export has been removed in v6. The correct import is now exclusively fromeslint-plugin-cypressdirectly.The existing code in
eslint.config.jswas already importing from'eslint-plugin-cypress'(not the deprecated/flatpath), so no structural change to the configuration object was required.However, the import style has been updated from a default import (
import CypressEslint from 'eslint-plugin-cypress') to a namespace import (import * as CypressEslint from 'eslint-plugin-cypress'). With the addition of"type": "commonjs"in the plugin'spackage.json(another v6 change), using a namespace import is the safer and more compatible pattern for consuming the plugin's named exports (such asconfigs.recommended) in an ESM context, ensuring forward compatibility.Other v6 changes (no code impact)
This PR was auto-generated by Gittensor upgrade bot using Claude AI